package com.base.po.voip;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GasOrderEjyExample {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria;

    public GasOrderEjyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAkIsNull() {
            addCriterion("ak is null");
            return (Criteria) this;
        }

        public Criteria andAkIsNotNull() {
            addCriterion("ak is not null");
            return (Criteria) this;
        }

        public Criteria andAkEqualTo(String value) {
            addCriterion("ak =", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkNotEqualTo(String value) {
            addCriterion("ak <>", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkGreaterThan(String value) {
            addCriterion("ak >", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkGreaterThanOrEqualTo(String value) {
            addCriterion("ak >=", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkLessThan(String value) {
            addCriterion("ak <", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkLessThanOrEqualTo(String value) {
            addCriterion("ak <=", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkLike(String value) {
            addCriterion("ak like", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkNotLike(String value) {
            addCriterion("ak not like", value, "ak");
            return (Criteria) this;
        }

        public Criteria andAkIn(List<String> values) {
            addCriterion("ak in", values, "ak");
            return (Criteria) this;
        }

        public Criteria andAkNotIn(List<String> values) {
            addCriterion("ak not in", values, "ak");
            return (Criteria) this;
        }

        public Criteria andAkBetween(String value1, String value2) {
            addCriterion("ak between", value1, value2, "ak");
            return (Criteria) this;
        }

        public Criteria andAkNotBetween(String value1, String value2) {
            addCriterion("ak not between", value1, value2, "ak");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCountrypriceIsNull() {
            addCriterion("countryPrice is null");
            return (Criteria) this;
        }

        public Criteria andCountrypriceIsNotNull() {
            addCriterion("countryPrice is not null");
            return (Criteria) this;
        }

        public Criteria andCountrypriceEqualTo(BigDecimal value) {
            addCriterion("countryPrice =", value, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceNotEqualTo(BigDecimal value) {
            addCriterion("countryPrice <>", value, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceGreaterThan(BigDecimal value) {
            addCriterion("countryPrice >", value, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("countryPrice >=", value, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceLessThan(BigDecimal value) {
            addCriterion("countryPrice <", value, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("countryPrice <=", value, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceIn(List<BigDecimal> values) {
            addCriterion("countryPrice in", values, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceNotIn(List<BigDecimal> values) {
            addCriterion("countryPrice not in", values, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("countryPrice between", value1, value2, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCountrypriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("countryPrice not between", value1, value2, "countryprice");
            return (Criteria) this;
        }

        public Criteria andCouponidIsNull() {
            addCriterion("couponId is null");
            return (Criteria) this;
        }

        public Criteria andCouponidIsNotNull() {
            addCriterion("couponId is not null");
            return (Criteria) this;
        }

        public Criteria andCouponidEqualTo(String value) {
            addCriterion("couponId =", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidNotEqualTo(String value) {
            addCriterion("couponId <>", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidGreaterThan(String value) {
            addCriterion("couponId >", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidGreaterThanOrEqualTo(String value) {
            addCriterion("couponId >=", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidLessThan(String value) {
            addCriterion("couponId <", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidLessThanOrEqualTo(String value) {
            addCriterion("couponId <=", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidLike(String value) {
            addCriterion("couponId like", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidNotLike(String value) {
            addCriterion("couponId not like", value, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidIn(List<String> values) {
            addCriterion("couponId in", values, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidNotIn(List<String> values) {
            addCriterion("couponId not in", values, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidBetween(String value1, String value2) {
            addCriterion("couponId between", value1, value2, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponidNotBetween(String value1, String value2) {
            addCriterion("couponId not between", value1, value2, "couponid");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyIsNull() {
            addCriterion("couponMoney is null");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyIsNotNull() {
            addCriterion("couponMoney is not null");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyEqualTo(BigDecimal value) {
            addCriterion("couponMoney =", value, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyNotEqualTo(BigDecimal value) {
            addCriterion("couponMoney <>", value, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyGreaterThan(BigDecimal value) {
            addCriterion("couponMoney >", value, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("couponMoney >=", value, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyLessThan(BigDecimal value) {
            addCriterion("couponMoney <", value, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("couponMoney <=", value, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyIn(List<BigDecimal> values) {
            addCriterion("couponMoney in", values, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyNotIn(List<BigDecimal> values) {
            addCriterion("couponMoney not in", values, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("couponMoney between", value1, value2, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andCouponmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("couponMoney not between", value1, value2, "couponmoney");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNull() {
            addCriterion("dateTime is null");
            return (Criteria) this;
        }

        public Criteria andDatetimeIsNotNull() {
            addCriterion("dateTime is not null");
            return (Criteria) this;
        }

        public Criteria andDatetimeEqualTo(Date value) {
            addCriterion("dateTime =", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotEqualTo(Date value) {
            addCriterion("dateTime <>", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThan(Date value) {
            addCriterion("dateTime >", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("dateTime >=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThan(Date value) {
            addCriterion("dateTime <", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("dateTime <=", value, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeIn(List<Date> values) {
            addCriterion("dateTime in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotIn(List<Date> values) {
            addCriterion("dateTime not in", values, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeBetween(Date value1, Date value2) {
            addCriterion("dateTime between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("dateTime not between", value1, value2, "datetime");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceIsNull() {
            addCriterion("discountPrice is null");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceIsNotNull() {
            addCriterion("discountPrice is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceEqualTo(BigDecimal value) {
            addCriterion("discountPrice =", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceNotEqualTo(BigDecimal value) {
            addCriterion("discountPrice <>", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceGreaterThan(BigDecimal value) {
            addCriterion("discountPrice >", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discountPrice >=", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceLessThan(BigDecimal value) {
            addCriterion("discountPrice <", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discountPrice <=", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceIn(List<BigDecimal> values) {
            addCriterion("discountPrice in", values, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceNotIn(List<BigDecimal> values) {
            addCriterion("discountPrice not in", values, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discountPrice between", value1, value2, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discountPrice not between", value1, value2, "discountprice");
            return (Criteria) this;
        }

        public Criteria andNonceIsNull() {
            addCriterion("nonce is null");
            return (Criteria) this;
        }

        public Criteria andNonceIsNotNull() {
            addCriterion("nonce is not null");
            return (Criteria) this;
        }

        public Criteria andNonceEqualTo(String value) {
            addCriterion("nonce =", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceNotEqualTo(String value) {
            addCriterion("nonce <>", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceGreaterThan(String value) {
            addCriterion("nonce >", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceGreaterThanOrEqualTo(String value) {
            addCriterion("nonce >=", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceLessThan(String value) {
            addCriterion("nonce <", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceLessThanOrEqualTo(String value) {
            addCriterion("nonce <=", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceLike(String value) {
            addCriterion("nonce like", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceNotLike(String value) {
            addCriterion("nonce not like", value, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceIn(List<String> values) {
            addCriterion("nonce in", values, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceNotIn(List<String> values) {
            addCriterion("nonce not in", values, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceBetween(String value1, String value2) {
            addCriterion("nonce between", value1, value2, "nonce");
            return (Criteria) this;
        }

        public Criteria andNonceNotBetween(String value1, String value2) {
            addCriterion("nonce not between", value1, value2, "nonce");
            return (Criteria) this;
        }

        public Criteria andOilcodeIsNull() {
            addCriterion("oilCode is null");
            return (Criteria) this;
        }

        public Criteria andOilcodeIsNotNull() {
            addCriterion("oilCode is not null");
            return (Criteria) this;
        }

        public Criteria andOilcodeEqualTo(String value) {
            addCriterion("oilCode =", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeNotEqualTo(String value) {
            addCriterion("oilCode <>", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeGreaterThan(String value) {
            addCriterion("oilCode >", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeGreaterThanOrEqualTo(String value) {
            addCriterion("oilCode >=", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeLessThan(String value) {
            addCriterion("oilCode <", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeLessThanOrEqualTo(String value) {
            addCriterion("oilCode <=", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeLike(String value) {
            addCriterion("oilCode like", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeNotLike(String value) {
            addCriterion("oilCode not like", value, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeIn(List<String> values) {
            addCriterion("oilCode in", values, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeNotIn(List<String> values) {
            addCriterion("oilCode not in", values, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeBetween(String value1, String value2) {
            addCriterion("oilCode between", value1, value2, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilcodeNotBetween(String value1, String value2) {
            addCriterion("oilCode not between", value1, value2, "oilcode");
            return (Criteria) this;
        }

        public Criteria andOilmassIsNull() {
            addCriterion("oilMass is null");
            return (Criteria) this;
        }

        public Criteria andOilmassIsNotNull() {
            addCriterion("oilMass is not null");
            return (Criteria) this;
        }

        public Criteria andOilmassEqualTo(BigDecimal value) {
            addCriterion("oilMass =", value, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassNotEqualTo(BigDecimal value) {
            addCriterion("oilMass <>", value, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassGreaterThan(BigDecimal value) {
            addCriterion("oilMass >", value, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("oilMass >=", value, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassLessThan(BigDecimal value) {
            addCriterion("oilMass <", value, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassLessThanOrEqualTo(BigDecimal value) {
            addCriterion("oilMass <=", value, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassIn(List<BigDecimal> values) {
            addCriterion("oilMass in", values, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassNotIn(List<BigDecimal> values) {
            addCriterion("oilMass not in", values, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("oilMass between", value1, value2, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOilmassNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("oilMass not between", value1, value2, "oilmass");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNull() {
            addCriterion("orderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNotNull() {
            addCriterion("orderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderidEqualTo(String value) {
            addCriterion("orderId =", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotEqualTo(String value) {
            addCriterion("orderId <>", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThan(String value) {
            addCriterion("orderId >", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThanOrEqualTo(String value) {
            addCriterion("orderId >=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThan(String value) {
            addCriterion("orderId <", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThanOrEqualTo(String value) {
            addCriterion("orderId <=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLike(String value) {
            addCriterion("orderId like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotLike(String value) {
            addCriterion("orderId not like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidIn(List<String> values) {
            addCriterion("orderId in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotIn(List<String> values) {
            addCriterion("orderId not in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidBetween(String value1, String value2) {
            addCriterion("orderId between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotBetween(String value1, String value2) {
            addCriterion("orderId not between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrdersumIsNull() {
            addCriterion("orderSum is null");
            return (Criteria) this;
        }

        public Criteria andOrdersumIsNotNull() {
            addCriterion("orderSum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdersumEqualTo(BigDecimal value) {
            addCriterion("orderSum =", value, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumNotEqualTo(BigDecimal value) {
            addCriterion("orderSum <>", value, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumGreaterThan(BigDecimal value) {
            addCriterion("orderSum >", value, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("orderSum >=", value, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumLessThan(BigDecimal value) {
            addCriterion("orderSum <", value, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("orderSum <=", value, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumIn(List<BigDecimal> values) {
            addCriterion("orderSum in", values, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumNotIn(List<BigDecimal> values) {
            addCriterion("orderSum not in", values, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("orderSum between", value1, value2, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOrdersumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("orderSum not between", value1, value2, "ordersum");
            return (Criteria) this;
        }

        public Criteria andOriginalcostIsNull() {
            addCriterion("originalCost is null");
            return (Criteria) this;
        }

        public Criteria andOriginalcostIsNotNull() {
            addCriterion("originalCost is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalcostEqualTo(BigDecimal value) {
            addCriterion("originalCost =", value, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostNotEqualTo(BigDecimal value) {
            addCriterion("originalCost <>", value, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostGreaterThan(BigDecimal value) {
            addCriterion("originalCost >", value, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("originalCost >=", value, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostLessThan(BigDecimal value) {
            addCriterion("originalCost <", value, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostLessThanOrEqualTo(BigDecimal value) {
            addCriterion("originalCost <=", value, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostIn(List<BigDecimal> values) {
            addCriterion("originalCost in", values, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostNotIn(List<BigDecimal> values) {
            addCriterion("originalCost not in", values, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("originalCost between", value1, value2, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOriginalcostNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("originalCost not between", value1, value2, "originalcost");
            return (Criteria) this;
        }

        public Criteria andOutstateIsNull() {
            addCriterion("outState is null");
            return (Criteria) this;
        }

        public Criteria andOutstateIsNotNull() {
            addCriterion("outState is not null");
            return (Criteria) this;
        }

        public Criteria andOutstateEqualTo(String value) {
            addCriterion("outState =", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateNotEqualTo(String value) {
            addCriterion("outState <>", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateGreaterThan(String value) {
            addCriterion("outState >", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateGreaterThanOrEqualTo(String value) {
            addCriterion("outState >=", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateLessThan(String value) {
            addCriterion("outState <", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateLessThanOrEqualTo(String value) {
            addCriterion("outState <=", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateLike(String value) {
            addCriterion("outState like", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateNotLike(String value) {
            addCriterion("outState not like", value, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateIn(List<String> values) {
            addCriterion("outState in", values, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateNotIn(List<String> values) {
            addCriterion("outState not in", values, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateBetween(String value1, String value2) {
            addCriterion("outState between", value1, value2, "outstate");
            return (Criteria) this;
        }

        public Criteria andOutstateNotBetween(String value1, String value2) {
            addCriterion("outState not between", value1, value2, "outstate");
            return (Criteria) this;
        }

        public Criteria andPaytypeIsNull() {
            addCriterion("payType is null");
            return (Criteria) this;
        }

        public Criteria andPaytypeIsNotNull() {
            addCriterion("payType is not null");
            return (Criteria) this;
        }

        public Criteria andPaytypeEqualTo(Integer value) {
            addCriterion("payType =", value, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeNotEqualTo(Integer value) {
            addCriterion("payType <>", value, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeGreaterThan(Integer value) {
            addCriterion("payType >", value, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("payType >=", value, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeLessThan(Integer value) {
            addCriterion("payType <", value, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeLessThanOrEqualTo(Integer value) {
            addCriterion("payType <=", value, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeIn(List<Integer> values) {
            addCriterion("payType in", values, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeNotIn(List<Integer> values) {
            addCriterion("payType not in", values, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeBetween(Integer value1, Integer value2) {
            addCriterion("payType between", value1, value2, "paytype");
            return (Criteria) this;
        }

        public Criteria andPaytypeNotBetween(Integer value1, Integer value2) {
            addCriterion("payType not between", value1, value2, "paytype");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andStationidIsNull() {
            addCriterion("stationId is null");
            return (Criteria) this;
        }

        public Criteria andStationidIsNotNull() {
            addCriterion("stationId is not null");
            return (Criteria) this;
        }

        public Criteria andStationidEqualTo(String value) {
            addCriterion("stationId =", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotEqualTo(String value) {
            addCriterion("stationId <>", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThan(String value) {
            addCriterion("stationId >", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThanOrEqualTo(String value) {
            addCriterion("stationId >=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThan(String value) {
            addCriterion("stationId <", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThanOrEqualTo(String value) {
            addCriterion("stationId <=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLike(String value) {
            addCriterion("stationId like", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotLike(String value) {
            addCriterion("stationId not like", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidIn(List<String> values) {
            addCriterion("stationId in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotIn(List<String> values) {
            addCriterion("stationId not in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidBetween(String value1, String value2) {
            addCriterion("stationId between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotBetween(String value1, String value2) {
            addCriterion("stationId not between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationnameIsNull() {
            addCriterion("stationName is null");
            return (Criteria) this;
        }

        public Criteria andStationnameIsNotNull() {
            addCriterion("stationName is not null");
            return (Criteria) this;
        }

        public Criteria andStationnameEqualTo(String value) {
            addCriterion("stationName =", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotEqualTo(String value) {
            addCriterion("stationName <>", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameGreaterThan(String value) {
            addCriterion("stationName >", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameGreaterThanOrEqualTo(String value) {
            addCriterion("stationName >=", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameLessThan(String value) {
            addCriterion("stationName <", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameLessThanOrEqualTo(String value) {
            addCriterion("stationName <=", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameLike(String value) {
            addCriterion("stationName like", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotLike(String value) {
            addCriterion("stationName not like", value, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameIn(List<String> values) {
            addCriterion("stationName in", values, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotIn(List<String> values) {
            addCriterion("stationName not in", values, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameBetween(String value1, String value2) {
            addCriterion("stationName between", value1, value2, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationnameNotBetween(String value1, String value2) {
            addCriterion("stationName not between", value1, value2, "stationname");
            return (Criteria) this;
        }

        public Criteria andStationpriceIsNull() {
            addCriterion("stationPrice is null");
            return (Criteria) this;
        }

        public Criteria andStationpriceIsNotNull() {
            addCriterion("stationPrice is not null");
            return (Criteria) this;
        }

        public Criteria andStationpriceEqualTo(BigDecimal value) {
            addCriterion("stationPrice =", value, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceNotEqualTo(BigDecimal value) {
            addCriterion("stationPrice <>", value, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceGreaterThan(BigDecimal value) {
            addCriterion("stationPrice >", value, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("stationPrice >=", value, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceLessThan(BigDecimal value) {
            addCriterion("stationPrice <", value, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("stationPrice <=", value, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceIn(List<BigDecimal> values) {
            addCriterion("stationPrice in", values, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceNotIn(List<BigDecimal> values) {
            addCriterion("stationPrice not in", values, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("stationPrice between", value1, value2, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStationpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("stationPrice not between", value1, value2, "stationprice");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTimestampIsNull() {
            addCriterion("timestamp is null");
            return (Criteria) this;
        }

        public Criteria andTimestampIsNotNull() {
            addCriterion("timestamp is not null");
            return (Criteria) this;
        }

        public Criteria andTimestampEqualTo(Date value) {
            addCriterion("timestamp =", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampNotEqualTo(Date value) {
            addCriterion("timestamp <>", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampGreaterThan(Date value) {
            addCriterion("timestamp >", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampGreaterThanOrEqualTo(Date value) {
            addCriterion("timestamp >=", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampLessThan(Date value) {
            addCriterion("timestamp <", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampLessThanOrEqualTo(Date value) {
            addCriterion("timestamp <=", value, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampIn(List<Date> values) {
            addCriterion("timestamp in", values, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampNotIn(List<Date> values) {
            addCriterion("timestamp not in", values, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampBetween(Date value1, Date value2) {
            addCriterion("timestamp between", value1, value2, "timestamp");
            return (Criteria) this;
        }

        public Criteria andTimestampNotBetween(Date value1, Date value2) {
            addCriterion("timestamp not between", value1, value2, "timestamp");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidIsNull() {
            addCriterion("userMerchandiseId is null");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidIsNotNull() {
            addCriterion("userMerchandiseId is not null");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidEqualTo(String value) {
            addCriterion("userMerchandiseId =", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidNotEqualTo(String value) {
            addCriterion("userMerchandiseId <>", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidGreaterThan(String value) {
            addCriterion("userMerchandiseId >", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidGreaterThanOrEqualTo(String value) {
            addCriterion("userMerchandiseId >=", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidLessThan(String value) {
            addCriterion("userMerchandiseId <", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidLessThanOrEqualTo(String value) {
            addCriterion("userMerchandiseId <=", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidLike(String value) {
            addCriterion("userMerchandiseId like", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidNotLike(String value) {
            addCriterion("userMerchandiseId not like", value, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidIn(List<String> values) {
            addCriterion("userMerchandiseId in", values, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidNotIn(List<String> values) {
            addCriterion("userMerchandiseId not in", values, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidBetween(String value1, String value2) {
            addCriterion("userMerchandiseId between", value1, value2, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andUsermerchandiseidNotBetween(String value1, String value2) {
            addCriterion("userMerchandiseId not between", value1, value2, "usermerchandiseid");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("parentid is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("parentid is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("parentid =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("parentid <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("parentid >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("parentid >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("parentid <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("parentid <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("parentid like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("parentid not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("parentid in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("parentid not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("parentid between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("parentid not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andSubidIsNull() {
            addCriterion("subid is null");
            return (Criteria) this;
        }

        public Criteria andSubidIsNotNull() {
            addCriterion("subid is not null");
            return (Criteria) this;
        }

        public Criteria andSubidEqualTo(String value) {
            addCriterion("subid =", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidNotEqualTo(String value) {
            addCriterion("subid <>", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidGreaterThan(String value) {
            addCriterion("subid >", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidGreaterThanOrEqualTo(String value) {
            addCriterion("subid >=", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidLessThan(String value) {
            addCriterion("subid <", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidLessThanOrEqualTo(String value) {
            addCriterion("subid <=", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidLike(String value) {
            addCriterion("subid like", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidNotLike(String value) {
            addCriterion("subid not like", value, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidIn(List<String> values) {
            addCriterion("subid in", values, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidNotIn(List<String> values) {
            addCriterion("subid not in", values, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidBetween(String value1, String value2) {
            addCriterion("subid between", value1, value2, "subid");
            return (Criteria) this;
        }

        public Criteria andSubidNotBetween(String value1, String value2) {
            addCriterion("subid not between", value1, value2, "subid");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyIsNull() {
            addCriterion("ispaymoney is null");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyIsNotNull() {
            addCriterion("ispaymoney is not null");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyEqualTo(Integer value) {
            addCriterion("ispaymoney =", value, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyNotEqualTo(Integer value) {
            addCriterion("ispaymoney <>", value, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyGreaterThan(Integer value) {
            addCriterion("ispaymoney >", value, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("ispaymoney >=", value, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyLessThan(Integer value) {
            addCriterion("ispaymoney <", value, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyLessThanOrEqualTo(Integer value) {
            addCriterion("ispaymoney <=", value, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyIn(List<Integer> values) {
            addCriterion("ispaymoney in", values, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyNotIn(List<Integer> values) {
            addCriterion("ispaymoney not in", values, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyBetween(Integer value1, Integer value2) {
            addCriterion("ispaymoney between", value1, value2, "ispaymoney");
            return (Criteria) this;
        }

        public Criteria andIspaymoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("ispaymoney not between", value1, value2, "ispaymoney");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table gas_order_ejy
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table gas_order_ejy
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}